#pragma once

class PluginLib_EXPORT OcLibSubjectManger
{
public:
public:
  virtual ~OcLibSubjectManger(void);

protected:
  OcLibSubjectManger(void);
  
public:

virtual HRESULT OnUpdate(void* pSender, LPARAM lHint, WPARAM wHint, SubjectObserverType type = EObserver_ALL);

public:
	void Add(OcLibSubjectObserver* pConnector, SubjectObserverType type = EObserver_Default);
  void Del(OcLibSubjectObserver* pConnector);


protected:
 std::map<DWORD_PTR, OcLibSubjectObserver*> m_aInstances;  

};



